package com.njworkorder.Entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName training_registration
 */
@TableName(value ="training_registration")
@Data
public class TrainingRegistration {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 主持人
     */
    private String compere;

    /**
     * 培训主题
     */
    private String theme;

    /**
     * 培训类型
     */
    private String type;

    /**
     * 培训对象
     */
    private String target;

    /**
     * 培训时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTime;

    /**
     * 培训地点
     */
    private String location;

    /**
     * 培训记录
     */
    private String records;

    /**
     * 培训图片
     */
    private String pictures;

    /**
     * 培训资料附件
     */
    private String attachment;

    /**
     * 培训效果评估
     */
    private String eevaluation;

    /**
     * 培训效果评估附件
     */
    private String eevaluationAttachment;

    @TableField(fill = FieldFill.INSERT)
    private Date publishTime;
}